<%--
  Created by IntelliJ IDEA.
  User: xltx
  Date: 2022/7/13
  Time: 21:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>addUser</title>
    <link rel="stylesheet" href="../../layui/css/layui.css">
</head>
<body>
<form class="layui-form" action="/user/addUser" method="post">

   <div class="layui-form-item">
       <label class="layui-form-label">用户名：</label>
       <div class="layui-input-block">
           <input type="text" name="username" class="layui-input" required="required"  lay-verify="required"
           placeholder="请输入用户名" autocomplete="off">
       </div>
   </div>

    <div class="layui-form-item">
        <label class="layui-form-label">密码：</label>
            <div class="layui-input-inline">
            <input type="password" name="password" class="layui-input" required="required" lay-verify="required"
            placeholder="请输入密码" autocomplete="off">
            </div>
        <div class="layui-form-mid layui-word-aux">密码长度要大于6位</div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="submit" class="layui-btn" lay-submit lay-filter="formSubmit">提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>


<script src="../../layui/layui.js"></script>
<script>
    layui.use('form',function () {
        var form = layui.form;

    })
</script>
</body>
</html>
